<?
AZNet::$page = array ( 'id' => '1096', 'name' => 'edit_page', 'title' => 'Sửa nội dung của trang', 'layout' => 'layouts/admin_simple.html',);
$blocks = array(45153=>array('id'=>'45153','module_id'=>'5333','region'=>'center','module'=>array('id'=>'5333','name'=>'Navigation',),),2002=>array('id'=>'2002','module_id'=>'8','region'=>'center','module'=>array('id'=>'8','name'=>'EditPage',),),);
foreach($blocks as &$block){
	if(file_exists(DIR_MODULE.$block['module']['name'].'/class.php')){
		require_once DIR_MODULE.$block['module']['name'].'/class.php';
		$block['object'] = &new $block['module']['name']($block);
		
		if(isset($_POST['form_block_id']) && $_POST['form_block_id'] == $block['id']){
			$block['object']->submit();
		}
	}
}
require_once ROOT_PATH."core/PageBegin.php" ?>
<div id="simple_layout" style="background-color:#FFFFFF">
<? if(isset($blocks[45153]['object'])) $blocks[45153]['object']->on_draw();?>
<? if(isset($blocks[2002]['object'])) $blocks[2002]['object']->on_draw();?></div>

<? require_once ROOT_PATH.'core/PageEnd.php' ?>